// 全局引入
const context = require.context('@/components', true, /\.vue$/);
export const install = (Vue) => {

  context.keys().forEach((key) => {
    const component = context(key).default;
    Vue.component(component.name, component);
  });
}

